const ejs = require("ejs");
const fs = require("fs");

let isLogin = false;

let html = fs.readFileSync(__dirname + "/home.html").toString();

let result = ejs.render(html, { isLogin });
console.log("🚀 ~ result:", result);
